/*
 * @Author: cgl
 * @Date: 2023-04-17 11:14:25
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-24 15:46:09
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\equipment\repair.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询设备维修列表
export function equipmentRepairList(params) {
  return request({
    url: '/basic/equipment/repair/list',
    method: 'get',
    params,
  })
}
// 导出设备维修列表
export function equipmentRepairExport(data) {
  return request({
    url: `/basic/equipment/repair/export`,
    method: "post",
    data,
  });
}
// 获取设备维修详细信息
export function equipmentRepairDetail(repairId) {
  return request({
    url: '/basic/equipment/repair/getInfo/' + repairId,
    method: 'get'
  })
}
// 新增设备维修
export function equipmentRepairAdd(data) {
  return request({
    url: `/basic/equipment/repair/add`,
    method: "post",
    data,
  });
}
// 修改设备维修
export function equipmentRepairEdit(data) {
  return request({
    url: '/basic/equipment/repair/edit',
    method: 'post',
    data,
  })
}
// 删除设备维修
export function equipmentRepairDelete(repairIds) {
  return request({
    url: '/basic/equipment/repair/remove/' + repairIds,
    method: 'get'
  })
}